package pattern.proxy.dynamic_proxy.cglib;

public class Test {
    public static void main(String[] args) {
        ProxyPoint proxyPoint = new ProxyPoint();
        TrainStation guangzhouTrainStation = proxyPoint.getProxyObject(GuangzhouTrainStation.class);
        guangzhouTrainStation.sellTickets();
        TrainStation shenzengTrainStation = proxyPoint.getProxyObject(ShenzhenTrainStation.class);
        shenzengTrainStation.sellTickets();
    }
}
